<template>
  <div id="app">
    <Header v-if="ifShow"></Header>
    <router-view/>
    <Footer v-if="ifShow"></Footer>
  </div>
</template>
<script>
import Header from "@/components/Header";
import Footer from "@/components/Footer";

export default {
  name: 'App',
  data() {
    return {
      ifShow: true
    }
  },
  components: {
    Header, Footer
  }
}
</script>